package com.linsen.core.common.exception;

import cn.hutool.core.util.StrUtil;

/**
 * @author zhaoyong
 * @date 2023/02/20
 */
public class BusinessException extends RuntimeException {
    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(String message, Object... args) {
        super(StrUtil.format(message, args));
    }
}
